package io.renren.modules.yckj.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2025-04-17
 */
@Data
@Schema(title =  "用户表")
public class UserDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@Schema(title ="id")
	private Long id;

	@Schema(title ="用户名")
	private String username;

	@Schema(title ="手机号")
	private String mobile;

	@Schema(title ="头像")
	private String avatar;

	@Schema(title ="密码")
	private String password;

	@Schema(title ="创建时间")
	private Date createDate;

	@Schema(title ="余额")
	private BigDecimal balance;

	@Schema(title ="欠款限额")
	private BigDecimal debtLimit;

	@Schema(title ="欠款限额使用")
	private BigDecimal debtLimitUse;

	@Schema(title ="姓名")
	private String realname;

	@Schema(title ="身份Id")
	private String idNo;

	@Schema(title ="用户类型：0正常，1后台添加")
	private Integer type;

	@Schema(title ="是否认证，0否，1是")
	private Integer authentication;

	@Schema(title ="优惠券")
	private String coupons;

	@Schema(title ="openid")
	private String openid;

	@Schema(title ="是否可选")
	private boolean disabled;

	//以下暂时无用

	@Schema(title ="积分")
	private Integer score;

	@Schema(title ="部门")
	private String department;

	@Schema(title ="学校/组织")
	private String company;

	@Schema(title ="昵称")
	private String nikename;

}